package com.itheima.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecommendFriend<T>  {
    //返回总数
    private Integer counts;
    //总页数
    private Integer pagesize;
    //页数
    private Integer pages;
    //每页条数
    private Integer page;
    //封装实体
    private List<T> items;

    public RecommendFriend(Integer page, Integer pagesize, List<T> items){
        //页数
        this.page=page;
        //每页条数
        this.pagesize=pagesize;
        this.items=items;
    }



}
